package ophiux.wechatpay.sdk.common.writer;

import ophiux.wechatpay.sdk.OphiuxWeChatPaySDKException;

/**
 * 写入转换器，将对象写入xml/json字符串
 */
public interface IOphiuxApiWriter<T> {
	
	/**
	 * 
	 * @param clzz  待写入对象
	 * @return
	 * @throws OphiuxWeChatPaySDKException
	 */
	public String writer(T obj) throws OphiuxWeChatPaySDKException;
	
}
